package com.balabala.gym_goods.service;

import com.balabala.dto.UserNameDto;
import com.balabala.gym_goods.pojo.dto.EvaluationQueryDto;
import com.balabala.gym_goods.pojo.entity.Evaluation;
import com.balabala.gym_goods.pojo.vo.EvaluationVo;
import com.balabala.vo.UserNameVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author fsj
 * @date 2023/5/5 18:19
 */
public interface EvaluationService extends IService<Evaluation> {



    //根据商品id查询评价
    List<Evaluation> findEvaluationBySpuId(Long spuId);

    //根据团课id查询评价
    List<Evaluation> findEvaluationByCourseId(Long courseId);

    List<Evaluation> findEvaluationByCoachSchId(Long coachId);

    //根据条件查询所有评价信息
    List<EvaluationVo> findVipIdBy(UserNameDto userNameDto);


}
